//index.js
//获取应用实例
const api = require('../../utils/API/api.js') 
const app = getApp()

Page({

  data: {
    focus_list: [{
      img_src: "../../static/tb1.png"
    },{
      img_src: "../../static/tb1.png"
    },{
      img_src: "../../static/tb1.png"
    }, {
      img_src: "../../static/tb4.png",
    }],
    activity_list: [{
      img_src: "../../static/tb3.jpeg"
    }, {
      img_src: "../../static/tb2.png",
    }],
    navList: [{
      title: "校园请假",
      url: "../askForm/askForm",
      src: "../../static/qj.png"
    },
    {
      title: "新闻中心",
      url: "../career/career",
      src: "../../static/jy.png"
    },
    {
      title: "活动打卡",
      url: "../activity/activity",
      src: "../../static/hddk.png"
    },
    {
      title: "心情监测",
      url: "../mymood/mymood",
      src: "../../static/xqjc.png"
    }
    ]
  },
  btnchange: function () {
    
    console.log('yes');
  },
  toPage: function (event) {
    let u = event.currentTarget.dataset.tourl
    console.log(u);
    wx.navigateTo({
      url: u
    })
  },
  onLoad: function () {
    
  }

})